//组合redux子模块 + 导出store实例

import {configureStore} from '@reduxjs/toolkit'
import userReducer from "@/store/modules/user";

 const store =  configureStore({
     // 注册子模块
     reducer:{
         user:userReducer
     }
})

export default store